<template>
  <div>
    父组件
    <hr />

    <MySon :sex="sex" :money="money" @my-event="money = $event"></MySon>
  </div>
</template>

<script>
import MySon from "./my-son.vue";
export default {
  components: {
    MySon,
  },
  props: {},
  data() {
    return {
      money: 1,
      sex: "男",
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
